package test.designmode.builder;

import test.bean.User;

import java.util.Date;

/**
 * Created by shuoGG on 2018/9/17
 */
public class Main {
    public static void main(String[] args) {
        Game game = Game.newBuilder().setId("1").setAmount(12).setUser(new User()).setCreateTime(new Date()).build();
        System.out.println(game);
    }
}
